import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import BaseProvider from './context';
import ErrorBoundary from './components/ErrorBoundary';
import Router from './router';
import './assets/css/reset.css';

createRoot(document.getElementById('root')).render(
  <ErrorBoundary>
    <BaseProvider>
      <BrowserRouter>
        <Router />
      </BrowserRouter>
    </BaseProvider>
  </ErrorBoundary>
);